package hn.cch.mybatis.boot.provider;

import org.apache.ibatis.jdbc.SQL;

public class SourceProvider {

    public String selectTable(String orderColumn){
        return new SQL(){{
            SELECT("primary_key", "table_column");
            FROM("table_entity");
            WHERE("table_column = #{}");
            ORDER_BY(orderColumn);
        }}.toString();
    }
}
